For this week assignment i created a simple interfacing for making a stepper motor make steps left and right.The idea is that there are two triangles that will act that the stepper has to go left and right by amount of steps.
Coordinates for the traingles
The print statement for printing to serial.This statement will confirm the serial port
The mouserelease is for when pressing on the button it performs the loop 1 time.Like if i press the right triangle ,it performs one statement.For one button i programmed y+ 1000 steps and for the other button i programmed y-1000 steps.
The outcome is :